#ifndef DRIVE_TRAIN_H
#define DRIVE_TRAIN_H

#include "Commands/Subsystem.h"
#include "WPILib.h"

class DriveTrain: public Subsystem {
	
private:
	RobotDrive *drive;
	int drivingMode;
	bool precissionDriving;
	int getOriginalSign(float x);
public:
	static const int NORMAL_MODE = 0;
	static const int REVERSED_MODE = 1;
	DriveTrain();
	virtual void InitDefaultCommand();
	int getDrivingMode();
	void setReversedMode();
	void setNormalMode();
	void setPrecissionDriving(bool b);
	char* getDrivingModeName();
	bool isPrecissionDriving();
	void stop();
	void tankDrive(float left, float right);
};

#endif
